package dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import po.User;

@Repository("userDao")
@Mapper
public interface UserDao {
	
	/**
	 * @author CoinBin
	 */
	
	List<User> selectAllUser(int page);
	
	int delUser(int id);
	//delete返回值是影响的行数
	
	List<User> selectEml(User user);
	
	int count();
	
}
